//package com.daxt.model.dto;
//
//import lombok.Data;
//import lombok.NoArgsConstructor;
//import lombok.experimental.Accessors;
//import org.springframework.data.annotation.Id;
//import org.springframework.data.elasticsearch.annotations.Document;
//import org.springframework.data.elasticsearch.annotations.Field;
//import org.springframework.data.elasticsearch.annotations.FieldType;
//
//
//
//@Data
//@NoArgsConstructor
//@Accessors(chain = true)
//@Document(indexName = "archives", shards = 1, replicas = 0)
////@Document(indexName = "abc",type = "_doc", shards = 1, replicas = 0)
//public class DocBean {
//
//
//	@Id
//	private Long id;
//
//	@Field(type = FieldType.Keyword)
//	private String title;//标题
//
//	@Field(type = FieldType.Keyword)
//	private String fileName;//文件名称
//
//	@Field(type = FieldType.Text, analyzer = "ik_max_word")
//	private String text;//文本内容
//
////	@Field(type = FieldType.Integer)
////	private Long docId;//
//
//	public DocBean(Long id,String title,String fileName,String text){
//		this.id=id;
//		this.title=title;
//		this.fileName=fileName;
//		this.text=text;
////		this.docId=docId;
//	}
//
//
//}
